package File;

import java.io.FileWriter;
import java.io.IOException;
import java.io.Writer;

//字符输出流：Writer抽象类和其子类FileWrite类的使用；
public class Demo11 {
    public static void main(String[] args) throws IOException {
        try(Writer writer11=new FileWriter("snm.txt")){
            writer11.write("hello world");
        }
    }

}
